package be.gwi.alfresco.run.model;

import org.alfresco.service.namespace.QName;

/**
 * The Run Challenge model.
 * 
 * Contains all the types, aspects and properties names defined in the Run Model
 * 
 * @author gabriel.willems@gmail.com
 * 
 * @version 1.0
 * @since 1.0
 */
public interface RunModel {

    String RUN_MODEL_URI                 = "http://www.gwillems.be/runchallenge/1.0/model";
    String RUN_MODEL_PREFIX              = "run";

    // Types
    QName  TYPE_RUN                      = QName.createQName(RUN_MODEL_URI, "run");                    ;

    // Aspects
    QName  ASPECT_RUNNER                 = QName.createQName(RUN_MODEL_URI, "runnerAspect");

    // Props
    // RUNNER
    QName  PROP_RUNNER_START_DATE        = QName.createQName(RUN_MODEL_URI, "runnerStartDate");
    QName  PROP_RUNNER_RUNNING_DISTANCE  = QName.createQName(RUN_MODEL_URI, "runnerRunningDistance");
    QName  PROP_RUNNER_RUNNING_COUNT     = QName.createQName(RUN_MODEL_URI, "runnerRunningCount");
    QName  PROP_RUNNER_CYCLING_DISTANCE  = QName.createQName(RUN_MODEL_URI, "runnerCyclingDistance");
    QName  PROP_RUNNER_CYCLING_COUNT     = QName.createQName(RUN_MODEL_URI, "runnerCyclingCount");
    QName  PROP_RUNNER_SWIMMING_DISTANCE = QName.createQName(RUN_MODEL_URI, "runnerSwimmingDistance");
    QName  PROP_RUNNER_SWIMMING_COUNT    = QName.createQName(RUN_MODEL_URI, "runnerSwimmingCount");
    QName  PROP_RUNNER_RUN_POINT          = QName.createQName(RUN_MODEL_URI, "runnerRunPoint");
    QName  PROP_RUNNER_RUN_COUNT         = QName.createQName(RUN_MODEL_URI, "runnerRunCount");
    QName  ASSOC_RUNNER_HISTORY          = QName.createQName(RUN_MODEL_URI, "runnerHistoryAssoc");

    // RUN
    QName  PROP_RUN_DATE                 = QName.createQName(RUN_MODEL_URI, "runDate");
    QName  PROP_RUN_TYPE                 = QName.createQName(RUN_MODEL_URI, "runType");
    QName  PROP_RUN_DISTANCE             = QName.createQName(RUN_MODEL_URI, "runDistance");
    QName  PROP_RUN_URL                  = QName.createQName(RUN_MODEL_URI, "runUrl");
}
